package com.fs.book.service;

import com.fs.book.entity.User;

public interface UserService {
    /**
     * 登录
     * @param username
     * @param password
     * @return
     * @throws Exception
     */
    public User login(String username,String password) throws  Exception;

    int register(User user);
}
